package com.thinkit.bigdata.web.dao.bus;

import com.thinkit.bigdata.core.feature.orm.mybatis.Page;
import com.thinkit.bigdata.web.model.bus.BusTag;
import com.thinkit.bigdata.web.model.bus.BusTagExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface BusTagMapper {
    int countByExample(BusTagExample example);

    int deleteByExample(BusTagExample example);

    int deleteByPrimaryKey(Long id);

    int insert(BusTag record);

    int insertSelective(BusTag record);

    List<BusTag> selectByExample(Page<BusTag> page, BusTagExample example);

    List<BusTag> selectLeafByExample(Page<BusTag> page, BusTagExample example);

    List<BusTag> selectByExample(BusTagExample example);

    List<BusTag> selectSunTag(BusTagExample example);

    List<BusTag> selectSunTag(Page<BusTag> page, BusTagExample example);

    BusTag selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") BusTag record, @Param("example") BusTagExample example);

    int updateByExample(@Param("record") BusTag record, @Param("example") BusTagExample example);

    int updateByPrimaryKeySelective(BusTag record);

    int updateByPrimaryKey(BusTag record);
}